﻿namespace HDW_Migrate.Db.Entities;

/// <summary>
/// 报告内容模版
/// </summary>
public class ReportContentTemplate : BaseEntity
{
    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; }
    /// <summary>
    /// 编码
    /// </summary>
    public string Code { get; set; }
    /// <summary>
    /// 父模版Id
    /// </summary>
    public Guid? Parentid { get; set; }
    /// <summary>
    /// 模板深度
    /// </summary>
    public int Level { get; set; }
    /// <summary>
    /// 报告内容模板类型:
    /// 10	公用模板
    /// 20	私有模板
    /// 30	常用字符串
    /// 40	特殊字符
    /// 50	字典
    /// </summary>
    public int? ReportContentTemplateType { get; set; }
    ///
    public double Nums { get; private set; }
    /// <summary>
    /// 部位Id(已废弃，移需要更改初始化数据脚本)
    /// </summary>
    public Guid? BodyPartId { get; set; }
    /// <summary>
    /// 设备类型Id(已废弃，移需要更改初始化数据脚本)
    /// </summary>
    public Guid? ModalityId { get; set; }
    /// <summary>
    /// 报告所有人
    /// </summary>
    public Guid? StaffId { get; set; }
    /// <summary>
    /// 科室ID
    /// </summary>
    public Guid? DepartmentId { get; set; }
    /// <summary>
    /// ACR编码
    /// </summary>
    public string ACRcode { get; set; }
    /// <summary>
    /// ICD编码
    /// </summary>
    public string ICDcode { get; set; }
    /// <summary>
    /// 排序值
    /// </summary>
    public int? SortIndex { get; set; }
    /// <summary>
    /// 最后更新时间
    /// </summary>
    public DateTime? LastUpdateDateTime { get; set; }
    /// <summary>
    /// 内容Id(已废弃)
    /// </summary>
    public Guid ContentId { get; set; }
    /// <summary>
    /// 助记码
    /// </summary>
    public string MnemonicCode { get; set; }
    /// <summary>
    /// 性别 通用：0,男：2，女：1
    /// </summary>
    public int Gender { get; set; }
}

/// <summary>
/// 内容模版内容
/// </summary>
public class TemplateContent : BaseEntity
{
    /// <summary>
    /// 内容
    /// </summary>
    public string Content { get; set; }
}